package cn.java.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * author: Yz
 * description: 
 * date: 11.25
 */
@Controller
@RequestMapping("/1")
public class HelloController {
    @RequestMapping("/aaa")
    public void test1() {
        System.out.println("调用--aaa,打印-hello world");
    }

    @RequestMapping("/bbb")
    public void test2() {
        System.out.println("调用--bbb,打印-hello world");
    }
}